<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>{$title|default="玛瑞莎转介绍系统"}</title>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1" />
    <!--CSS引用-->
    <link href="__STATIC__/zjs/css/style.css" rel="stylesheet"/>
    {block name="css"}{/block}
    
    <!--[if lt IE 9]>
    <script src="__CSS__/html5shiv.min.js"></script>
    <script src="__CSS__/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <!--主体-->
    {block name="body"}{/block}
    <!--footer start-->
        <div class="footer">
		<ul class="footer_ul">
                    {volist name="nav" id="vo"}
			<li>
                            {php}
                              $url = url($vo['link'],['menu_id'=>$vo['id']]);
                            {/php}
                            <a href="{$url}">
					<img src="__STATIC__/zjs/{$vo.icon}" alt="">
					<p>{$vo.name}</p>
				</a>
			</li>
                    {/volist}
		</ul>
	</div>
    <!--footer end-->

<script>
    // 定义全局JS变量
    var GV = {
        current_controller: "{$action}",
        base_url: "__STATIC__"
    };
</script>
<!--JS引用-->
<script src="__STATIC__/zjs/js/jquery-3.1.1.min.js" type="text/javascript"></script>
<script src="__STATIC__/zjs/js/index.js" type="text/javascript"></script>
<!--页面JS脚本-->
{block name="js"}{/block}

{block name="script"}{/block}
 <script>
        $(function(){
            $('.footer_ul').find('a[href="' + GV.current_controller + '"]').parent().addClass('footer_active');
            $(".p_h_back").bind("click",function(){  
//              window.location.reload();    //刷新  
//              window.history.go(1);         //前进  
              window.history.go(-1);        //返回+刷新  
//              window.history.forward();  //前进  
//              window.history.back();       //返回  
            });  
        });
    </script>
</body>
</html>